import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from '../views/Index'
import JobList from '../views/JobList'
import JobListNearby from '../views/JobListNearby'
import JobShow from '../views/JobShow'
import ResumeList from '../views/ResumeList'
import ResumeShow from '../views/ResumeShow'
import CompanyList from '../views/CompanyList'
import CompanyShow from '../views/CompanyShow'
import RegFormStep1 from '../views/personal/AddResumeByForm/RegFormStep1'
import RegFormStep2 from '../views/personal/AddResumeByForm/RegFormStep2'
import RegIntStep1 from '../views/personal/AddResumeByInteractive/RegIntStep1'
import RegIntStep2 from '../views/personal/AddResumeByInteractive/RegIntStep2'
import RegIntStep3 from '../views/personal/AddResumeByInteractive/RegIntStep3'
import RegIntStep4 from '../views/personal/AddResumeByInteractive/RegIntStep4'
import RegIntStep4Nowork from '../views/personal/AddResumeByInteractive/RegIntStep4Nowork'
import ResumeFinish from '../views/personal/AddResumeFinish'
import PersonalAccount from '../views/personal/AccountManage/Account'
import Envelopes from '../views/member/RedEnvelopes/Envelopes'
import Invitation from '../views/member/RedEnvelopes/Invitation'
import Withdrawal from '../views/member/RedEnvelopes/Withdrawal'
import PersonalJobApply from '../views/personal/JobManagement/JobApply'
import PersonalIndex from '../views/personal/PersonalIndex'
import Uploadjianli from '../views/personal/Uploadjianli'
import EditResume from '../views/personal/EditResume'
import ImproveResume from '../views/personal/ImproveResume'
import EditBasic from '../views/personal/EditBasic'
import EditIntention from '../views/personal/EditIntention'
import EditCertificate from '../views/personal/EditCertificate'
import EditEducation from '../views/personal/EditEducation'
import EditLanguage from '../views/personal/EditLanguage'
import EditProject from '../views/personal/EditProject'
import EditTags from '../views/personal/EditTags'
import EditTrain from '../views/personal/EditTrain'
import EditWorks from '../views/personal/EditWorks'
import EditSpecialty from '../views/personal/EditSpecialty'
import PrivacySetting from '../views/personal/PrivacySetting'
import PersonalServiceIndex from '../views/personal/Service/PersonalServiceIndex'
import CompanyIndex from '../views/company/CompanyIndex'
import PrivacyAddBlackList from '../views/personal/PrivacyAddBlackList'
import MemberOauthQq from '../views/member/Oauth/qq'
import MemberOauthWeixin from '../views/member/Oauth/weixin'
import Login from '../views/member/Login'
import Appeal from '../views/member/Appeal'
import AttentionMe from '../views/personal/JobManagement/AttentionMe'
import AttentionCompany from '../views/personal/JobManagement/AttentionCompany'
import ViewJob from '../views/personal/JobManagement/ViewJob'
import PersonalInterview from '../views/personal/JobManagement/PersonalInterview'
import JobFavorites from '../views/personal/JobManagement/JobFavorites'
import VideoInterview from '../views/personal/JobManagement/VideoInterview'
import Reg from '../views/member/Reg'
import JobMap from '../views/JobMap'
import ResumePreview from '../views/personal/ResumePreview'
import PersonalRecommend from '../views/personal/Recommend'
import PersonalRecommendAdd from '../views/personal/RecommendAdd'
import ImList from '../views/im/ImList'
import CompanyRecommend from '../views/company/Recommend'
import ImShow from '../views/im/ImShow'
import PersonalLoginLog from '../views/personal/AccountManage/LoginLog'
import CompanyLoginLog from '../views/company/AccountManage/LoginLog'
import Notice from '../views/Notice'
import NoticeShow from '../views/NoticeShow'
import News from '../views/News'
import NewShow from '../views/NewShow'
import CompanyManagement from '../views/company/CompanyManagement'
import CompanyProfile from '../views/company/BasicInfo'
import CompanyCustomerService from '../views/company/AccountManage/ExclusiveService'
import CompamyAccount from '../views/company/AccountManage/Account'
import CompamyJobapply from '../views/company/ResumeManagement/ReceivedResume'
import CompamyDownload from '../views/company/ResumeManagement/ResumeDownload'
import CompanyInterview from '../views/company/ResumeManagement/ResumeInterviewInvitation'
import CompanyInterviewVideo from '../views/company/ResumeManagement/ResumeVideoInvitation'
import CompanyFav from '../views/company/ResumeManagement/ResumeFavorites'
import CompanyViewResume from '../views/company/ResumeManagement/BrowsingRecords'
import CompanyBeBrowsed from '../views/company/ResumeManagement/BrowsingBeBrowsed'
import CompanyAuthIndex from '../views/company/AccountManage/Auth'
import CompanyJobAdd from '../views/company/AddJob'
import CompanyJobEdit from '../views/company/EditJob'
import CompanyJobList from '../views/company/JobList'
import CompanyCoupon from '../views/company/Service/Coupon'
import CompanyPoints from '../views/company/Service/Points'
import CompanyPointsLog from '../views/company/Service/BudgetLog'
import PersonalPointsLog from '../views/personal/Service/BudgetLog'
import OrderList from '../views/service/OrderList'
import OrderDetail from '../views/service/OrderDetail'
import CompanyBuyPoints from '../views/company/Service/BuyPoints'
import CompanyBuyService from '../views/company/Service/BuyService'
import CompanyMySetmeal from '../views/company/Service/MySetmeal'
import CompanyMySetmealLog from '../views/company/Service/MySetmealLog'
import CompanyMsg from '../views/company/AccountManage/Msglist'
import PersonalMsg from '../views/personal/AccountManage/Msglist'
import FindPwd from '../views/member/FindPwd'
import AccountBinding from '../views/member/AccountBinding'
import PersonalOrderAdd from '../views/personal/Service/OrderPay'
import Video from '../views/Video'
import Microposte from '../views/company/Microposte'
import ScanMicroposte from '../views/ScanMicroposte'
import ScanUpload from '../views/ScanUpload'
import JobfairList from '../views/jobfair/Index'
import JobfairShow from '../views/jobfair/Show'
import JobfairReserve from '../views/jobfair/Seserve'
import JobfairolIndex from '../views/jobfairol/Index'
import JobfairolShow from '../views/jobfairol/Show'
import JobfairolReserve from '../views/jobfairol/Seserve'
import JsapiPay from '../views/service/JsapiPay'
import CampusIndex from '../views/campus/Index'
import School from '../views/campus/school/Index'
import SchoolShow from '../views/campus/school/Show'
import freelanceme from '../views/freelance/me'
import freelanceindex from '../views/freelance/index'
import freelanceproject from '../views/freelance/project'
import freelanceprojectdetails from '../views/freelance/projectdetails'
import freelanceresume from '../views/freelance/resume'
import freelanceresumedetails from '../views/freelance/resumedetails'
import freelancepersonalinfo from '../views/freelance/personalinfo'
import freelancebasic from '../views/freelance/basic'
import freelanceservice from '../views/freelance/service'
import freelanceaddservice from '../views/freelance/addservice'
import freelancespecialty from '../views/freelance/specialty'
import freelanceaddspecialty from '../views/freelance/addspecialty'
import freelanceexperience from '../views/freelance/experience'
import freelanceaddexperience from '../views/freelance/addexperience'
import freelancecasestudy from '../views/freelance/casestudy'
import freelanceaddcasestudy from '../views/freelance/addcasestudy'
import freelancepromanage from '../views/freelance/promanage'
import freelancerelease from '../views/freelance/release'
import freelancepromote from '../views/freelance/promote'
import freelancefootprint from '../views/freelance/footprint'
import Preach from '../views/campus/preach/Index'
import PreachShow from '../views/campus/preach/Show'
import Election from '../views/campus/election/index'
import ElectionShow from '../views/campus/election/Show'
import CampusJob from '../views/campus/job/Index'
import campusNotice from '../views/campus/notice/Index'
import campusNoticeShow from '../views/campus/notice/Show'
import cityBook from '../views/cityinfo/telBook/TelBook'
import cityBookList from '../views/cityinfo/telBook/TelBookList'
import cityBookListShow from '../views/cityinfo/telBook/ListShow'
import cityRegister from '../views/cityinfo/telBook/Register'
import cityListShow from '../views/cityinfo/Show'
import cityClassify from '../views/cityinfo/Classify'
import cityinfoindex from '../views/cityinfo/index'
import cityinfoinfolist from '../views/cityinfo/infolist'
import cityinfosearchinfolist from '../views/cityinfo/searchinfolist'
import cityinfome from '../views/cityinfo/me/me'
import cityinfoinfopromanage from '../views/cityinfo/me/infopromanage'  
import cityinfoselclass from '../views/cityinfo/me/selclass'
import cityinforelease from '../views/cityinfo/me/release'
import cityinfoorder from '../views/cityinfo/me/order'
import cityinfofootprint from '../views/cityinfo/me/footprint'
import cityinfopromote from '../views/cityinfo/me/promote'
import fastjoblist from '../views/fast/joblist'
import fastjobdetail from '../views/fast/jobdetail'
import fastjobedit from '../views/fast/jobedit'
import fastresumelist from '../views/fast/resumelist'
import fastresumedetail from '../views/fast/resumedetail'
import fastresumeedit from '../views/fast/resumeedit'
import RegQuick from '../views/member/RegQuick'
import videocompanylist from '../views/shortvideo/companyList'
import videopersonallist from '../views/shortvideo/personalList'
import videoManage from '../views/shortvideo/videoManage'
import videoRelease from '../views/shortvideo/releaseVideo'
import videoplay from '../views/shortvideo/VideoPlay'
import subsiteList from '../views/SubsiteList'
import OrderAddPay from '../views/service/OrderAddPay'
import dailyList from '../views/daily/dailyList'
import dailyDetail from '../views/daily/dailyDetail'
import jobRegister from '../views/jobRegister/jobRegister'
import JobSearchGroup from '../views/JobSearchGroup'
import live from '../views/live/index'

Vue.use(VueRouter)

/**
 * 重写路由的push方法
 */
const routerPush = VueRouter.prototype.push
VueRouter.prototype.push = function push (location) {
  return routerPush.call(this, location).catch((error) => error)
}

const routes = [{
  path: '/',
  redirect: '/index',
  meta: {
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/index',
  name: 'index',
  component: Index,
  meta: {
    title: '首页',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/joblist',
  name: 'jobList',
  component: JobList,
  meta: {
    title: '找工作',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/jobnearby',
  name: 'jobListNearby',
  component: JobListNearby,
  meta: {
    title: '附近职位',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/job/:id(\\d+)',
  name: 'jobShow',
  component: JobShow,
  meta: {
    title: '职位详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/JobSearchGroup',
  name: 'jobSearchGroup',
  component: JobSearchGroup,
  meta: {
    title: '求职群',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/resumelist',
  name: 'resumeList',
  component: ResumeList,
  meta: {
    title: '找人才',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/resume/:id(\\d+)/:company_uid(\\d+)?/:job_apply_id(\\d+)?',
  name: 'resumeShow',
  component: ResumeShow,
  meta: {
    title: '简历详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/companylist',
  name: 'companyList',
  component: CompanyList,
  meta: {
    title: '搜企业',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/company/:id(\\d+)',
  name: 'companyShow',
  component: CompanyShow,
  meta: {
    title: '企业详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/forget/:utype',
  name: 'FindPwd',
  component: FindPwd,
  meta: {
    title: '找回密码',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/personal/resume_add_form/step1',
  name: 'RegFormStep1',
  component: RegFormStep1,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_add_form/step2',
  name: 'RegFormStep2',
  component: RegFormStep2,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_add_int/step1',
  name: 'RegIntStep1',
  component: RegIntStep1,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_add_int/step2',
  name: 'RegIntStep2',
  component: RegIntStep2,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_add_int/step3',
  name: 'RegIntStep3',
  component: RegIntStep3,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_add_int/step4',
  name: 'RegIntStep4',
  component: RegIntStep4,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_add_int/step4_nowork',
  name: 'RegIntStep4Nowork',
  component: RegIntStep4Nowork,
  meta: {
    title: '创建简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume_finish',
  name: 'ResumeFinish',
  component: ResumeFinish,
  meta: {
    title: '简历创建完成',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/account',
  name: 'PersonalAccount',
  component: PersonalAccount,
  meta: {
    title: '账号管理',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/jobapply',
  name: 'PersonalJobApply',
  component: PersonalJobApply,
  meta: {
    title: '已申请职位',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/index',
  name: 'PersonalIndex',
  component: PersonalIndex,
  meta: {
    title: '会员中心',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/uploadjianli',
  name: 'Uploadjianli',
  component: Uploadjianli,
  meta: {
    title: '上传简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume',
  name: 'EditResume',
  component: EditResume,
  meta: {
    title: '我的简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/ImproveResume',
  name: 'ImproveResume',
  component: ImproveResume,
  meta: {
    title: '完善简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume',
  name: 'EditResume',
  component: EditResume,
  meta: {
    title: '我的简历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/basic',
  name: 'EditBasic',
  component: EditBasic,
  meta: {
    title: '基本资料',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/intention_edit/:id',
  name: 'EditIntention',
  component: EditIntention,
  meta: {
    title: '求职意向',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/certificate_edit/:id',
  name: 'EditCertificate',
  component: EditCertificate,
  meta: {
    title: '我的证书',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/education_edit/:id',
  name: 'EditEducation',
  component: EditEducation,
  meta: {
    title: '教育经历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/language_edit/:id',
  name: 'EditLanguage',
  component: EditLanguage,
  meta: {
    title: '语言能力',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/project_edit/:id',
  name: 'EditProject',
  component: EditProject,
  meta: {
    title: '项目经历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/tag',
  name: 'EditTags',
  component: EditTags,
  meta: {
    title: '特长标签',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/train_edit/:id',
  name: 'EditTrain',
  component: EditTrain,
  meta: {
    title: '培训经历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/work_edit/:id',
  name: 'EditWorks',
  component: EditWorks,
  meta: {
    title: '工作经历',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/resume/specialty',
  name: 'EditSpecialty',
  component: EditSpecialty,
  meta: {
    title: '自我描述',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/privacy',
  name: 'PrivacySetting',
  component: PrivacySetting,
  meta: {
    title: '隐私设置',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/service',
  name: 'PersonalServiceIndex',
  component: PersonalServiceIndex,
  meta: {
    title: '会员服务',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/blacklist_add',
  name: 'PrivacyAddBlackList',
  component: PrivacyAddBlackList,
  meta: {
    title: '屏蔽企业',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/oauth/qq/:type?',
  name: 'MemberOauthQq',
  component: MemberOauthQq,
  meta: {
    title: 'QQ授权',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/oauth/weixin',
  name: 'MemberOauthWeixin',
  component: MemberOauthWeixin,
  meta: {
    title: '微信授权',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/login/:utype_alias?',
  name: 'MemberLogin',
  component: Login,
  meta: {
    title: '登录',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/appeal',
  name: 'MemberAppeal',
  component: Appeal,
  meta: {
    title: '账号申诉',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/personal/attention_me',
  name: 'AttentionMe',
  component: AttentionMe,
  meta: {
    title: '被关注',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/attention_company',
  name: 'AttentionCompany',
  component: AttentionCompany,
  meta: {
    title: '关注的企业',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/viewjob',
  name: 'ViewJob',
  component: ViewJob,
  meta: {
    title: '足迹',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/interview',
  name: 'PersonalInterview',
  component: PersonalInterview,
  meta: {
    title: '面试邀请',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/favjob',
  name: 'JobFavorites',
  component: JobFavorites,
  meta: {
    title: '收藏的职位',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/interview_video',
  name: 'VideoInterview',
  component: VideoInterview,
  meta: {
    title: '视频面试',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/reg/:utype_alias?',
  name: 'MemberReg',
  component: Reg,
  meta: {
    title: '注册',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/jobmap',
  name: 'JobMap',
  component: JobMap,
  meta: {
    title: '地图找工作',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/personal/preview',
  name: 'ResumePreview',
  component: ResumePreview,
  meta: {
    title: '简历预览',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/recommend',
  name: 'PersonalRecommend',
  component: PersonalRecommend,
  meta: {
    title: '智能推荐',
    keepAlive: true,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/personal/recommend_add',
  name: 'PersonalRecommendAdd',
  component: PersonalRecommendAdd,
  meta: {
    title: '求职意向',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/company/recommend',
  name: 'CompanyRecommend',
  component: CompanyRecommend,
  meta: {
    title: '智能推荐',
    keepAlive: true,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/im/imlist',
  name: 'ImList',
  component: ImList,
  meta: {
    title: '职聊',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/im/:userid',
  name: 'ImShow',
  component: ImShow,
  meta: {
    title: '职聊',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/company/loginlog',
  name: 'CompanyLoginLog',
  component: CompanyLoginLog,
  meta: {
    title: '登录日志',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/personal/loginlog',
  name: 'PersonalLoginLog',
  component: PersonalLoginLog,
  meta: {
    title: '登录日志',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/noticelist',
  name: 'noticeList',
  component: Notice,
  meta: {
    title: '公告列表',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/notice/:id(\\d+)',
  name: 'noticeShow',
  component: NoticeShow,
  meta: {
    title: '公告详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/newslist/:cid(\\d+)?',
  name: 'newsList',
  component: News,
  meta: {
    title: '新闻资讯',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/news/:id(\\d+)',
  name: 'newsShow',
  component: NewShow,
  meta: {
    title: '资讯详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/company/index',
  name: 'CompanyIndex',
  component: CompanyIndex,
  meta: {
    title: '会员中心',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/manage',
  name: 'CompanyManagement',
  component: CompanyManagement,
  meta: {
    title: '企业管理',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/profile',
  name: 'CompanyProfile',
  component: CompanyProfile,
  meta: {
    title: '完善企业资料',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/customer_service',
  name: 'CompanyCustomerService',
  component: CompanyCustomerService,
  meta: {
    title: '专属客服',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/RedEnvelopes/envelopes',
  name: 'Envelopes',
  component: Envelopes,
  meta: {
    title: '我的钱包',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/RedEnvelopes/withdrawal',
  name: 'Withdrawal',
  component: Withdrawal,
  meta: {
    title: '提现记录',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/RedEnvelopes/invitation',
  name: 'Invitation',
  component: Invitation,
  meta: {
    title: '邀请有礼',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/company/account',
  name: 'CompamyAccount',
  component: CompamyAccount,
  meta: {
    title: '账号管理',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/jobapply',
  name: 'CompamyJobapply',
  component: CompamyJobapply,
  meta: {
    title: '收到投递',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/download',
  name: 'CompamyDownload',
  component: CompamyDownload,
  meta: {
    title: '我的下载',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/interview',
  name: 'CompanyInterview',
  component: CompanyInterview,
  meta: {
    title: '面试邀请',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/interview_video',
  name: 'CompanyInterviewVideo',
  component: CompanyInterviewVideo,
  meta: {
    title: '视频面试',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/fav',
  name: 'CompanyFav',
  component: CompanyFav,
  meta: {
    title: '我的收藏',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/view_resume',
  name: 'CompanyViewResume',
  component: CompanyViewResume,
  meta: {
    title: '我看过',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/be_browsed',
  name: 'CompanyBeBrowsed',
  component: CompanyBeBrowsed,
  meta: {
    title: '看过我',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/auth',
  name: 'CompanyAuthIndex',
  component: CompanyAuthIndex,
  meta: {
    title: '企业认证',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/jobadd',
  name: 'CompanyJobAdd',
  component: CompanyJobAdd,
  meta: {
    title: '发布职位',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/jobedit/:id',
  name: 'CompanyJobEdit',
  component: CompanyJobEdit,
  meta: {
    title: '修改职位',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/joblist',
  name: 'CompanyJobList',
  component: CompanyJobList,
  meta: {
    title: '职位管理',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/coupon',
  name: 'CompanyCoupon',
  component: CompanyCoupon,
  meta: {
    title: '优惠券',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/points',
  name: 'CompanyPoints',
  component: CompanyPoints,
  meta: {
    title: '我的积分',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/points_log',
  name: 'CompanyPointsLog',
  component: CompanyPointsLog,
  meta: {
    title: '积分收支明细',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/personal/points_log',
  name: 'PersonalPointsLog',
  component: PersonalPointsLog,
  meta: {
    title: '积分收支明细',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/order/list',
  name: 'OrderList',
  component: OrderList,
  meta: {
    title: '我的订单',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/order/:id(\\d+)',
  name: 'OrderDetail',
  component: OrderDetail,
  meta: {
    title: '订单详情',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/order/add/points',
  name: 'CompanyBuyPoints',
  component: CompanyBuyPoints,
  meta: {
    title: '购买积分',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/order/add/common',
  name: 'CompanyBuyService',
  component: CompanyBuyService,
  meta: {
    title: '购买服务',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/mysetmeal',
  name: 'CompanyMySetmeal',
  component: CompanyMySetmeal,
  meta: {
    title: '我的套餐',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/setmeallog',
  name: 'CompanyMySetmealLog',
  component: CompanyMySetmealLog,
  meta: {
    title: '套餐使用明细',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/company/msglist',
  name: 'CompanyMsg',
  component: CompanyMsg,
  meta: {
    title: '系统消息',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/bind',
  name: 'AccountBinding',
  component: AccountBinding,
  meta: {
    title: '第三方绑定账号',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/personal/msglist',
  name: 'PersonalMsg',
  component: PersonalMsg,
  meta: {
    title: '系统消息',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/member/order/add/:type',
  name: 'PersonalOrderAdd',
  component: PersonalOrderAdd,
  meta: {
    title: '购买服务',
    keepAlive: false,
    loginCheck: true,
    utype: 2
  }
},
{
  path: '/video/:interview_id',
  name: 'Video',
  component: Video,
  meta: {
    title: '音视频',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/member/company/microposte',
  name: 'Microposte',
  component: Microposte,
  meta: {
    title: '微海报',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/member/scan_microposte',
  name: 'ScanMicroposte',
  component: ScanMicroposte,
  meta: {
    title: '微海报',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/scan_upload',
  name: 'ScanUpload',
  component: ScanUpload,
  meta: {
    title: '扫码上传图片',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/jobfairList',
  name: 'jobfairList',
  component: JobfairList,
  meta: {
    title: '招聘会列表',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/jobfair/:id(\\d+)',
  name: 'jobfairShow',
  component: JobfairShow,
  meta: {
    title: '招聘会详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/jobfair/reserve',
  name: 'JobfairReserve',
  component: JobfairReserve,
  meta: {
    title: '已报名招聘会列表',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/jobfairol',
  name: 'jobfairol',
  component: JobfairolIndex,
  meta: {
    title: '网络招聘会',
    keepAlive: true,
    loginCheck: false
  }
},
{
  path: '/jobfairol/:id(\\d+)',
  name: 'jobfairolShow',
  component: JobfairolShow,
  meta: {
    title: '网络招聘会详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/jobfairol/reserve',
  name: 'JobfairolReserve',
  component: JobfairolReserve,
  meta: {
    title: '已报名网络招聘会列表',
    keepAlive: false,
    loginCheck: true,
    utype: 1
  }
},
{
  path: '/pay/jsapi',
  name: 'JsapiPay',
  component: JsapiPay,
  meta: {
    title: '微信支付',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/campus/index',
  name: 'campusIndex',
  component: CampusIndex,
  meta: {
    title: '校招首页',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/school',
  name: 'campusSchool',
  component: School,
  meta: {
    title: '院校',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/school/:id',
  name: 'campusSchoolShow',
  component: SchoolShow,
  meta: {
    title: '院校详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/preach',
  name: 'campusCareerTalk',
  component: Preach,
  meta: {
    title: '宣讲会',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/preach/:id',
  name: 'campusCareerTalkShow',
  component: PreachShow,
  meta: {
    title: '宣讲会详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/election',
  name: 'campusDoubleElection',
  component: Election,
  meta: {
    title: '双选会',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/election/:id',
  name: 'campusDoubleElectionShow',
  component: ElectionShow,
  meta: {
    title: '双选会详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/job',
  name: 'campusFullTime',
  component: CampusJob,
  meta: {
    title: '全职列表',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/notice',
  name: 'campusNotice',
  component: campusNotice,
  meta: {
    title: '新闻列表',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/campus/notice/:id',
  name: 'campusNoticeShow',
  component: campusNoticeShow,
  meta: {
    title: '新闻资讯',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/freelance/me',
  name: 'freelanceme',
  component: freelanceme,
  meta: {
    title: '会员中心 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/index',
  name: 'freelanceindex',
  component: freelanceindex,
  meta: {
    title: '自由职业',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/freelance/project',
  name: 'freelanceproject',
  component: freelanceproject,
  meta: {
    title: '项目 - 自由职业',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/freelance/project/:id',
  name: 'freelanceprojectdetails',
  component: freelanceprojectdetails,
  meta: {
    title: '项目详情 - 自由职业',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/freelance/resume',
  name: 'freelanceresume',
  component: freelanceresume,
  meta: {
    title: '人才 - 自由职业',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/freelance/resume/:id',
  name: 'freelanceresumedetails',
  component: freelanceresumedetails,
  meta: {
    title: '个人介绍 - 自由职业',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/freelance/personalinfo',
  name: 'freelancepersonalinfo',
  component: freelancepersonalinfo,
  meta: {
    title: '个人资料 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/basic',
  name: 'freelancebasic',
  component: freelancebasic,
  meta: {
    title: '个人资料 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/service',
  name: 'freelanceservice',
  component: freelanceservice,
  meta: {
    title: '服务项目 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/addservice',
  name: 'freelanceaddservice',
  component: freelanceaddservice,
  meta: {
    title: '服务项目 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/specialty',
  name: 'freelancespecialty',
  component: freelancespecialty,
  meta: {
    title: '技能专长 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/addspecialty',
  name: 'freelanceaddspecialty',
  component: freelanceaddspecialty,
  meta: {
    title: '技能专长 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/experience',
  name: 'freelanceexperience',
  component: freelanceexperience,
  meta: {
    title: '项目经历 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/addexperience',
  name: 'freelanceaddexperience',
  component: freelanceaddexperience,
  meta: {
    title: '项目经历 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/casestudy',
  name: 'freelancecasestudy',
  component: freelancecasestudy,
  meta: {
    title: '项目案例 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/addcasestudy',
  name: 'freelanceaddcasestudy',
  component: freelanceaddcasestudy,
  meta: {
    title: '项目案例 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/promanage',
  name: 'freelancepromanage',
  component: freelancepromanage,
  meta: {
    title: '项目管理 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/release',
  name: 'freelancerelease',
  component: freelancerelease,
  meta: {
    title: '发布项目 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/promote',
  name: 'freelancepromote',
  component: freelancepromote,
  meta: {
    title: '我要推广 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/freelance/footprint',
  name: 'freelancefootprint',
  component: freelancefootprint,
  meta: {
    title: '我的足迹 - 自由职业',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/classify',
  name: 'cityinfoClassify',
  component: cityClassify,
  meta: {
    title: '分类',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/info/:id',
  name: 'cityinfoShow',
  component: cityListShow,
  meta: {
    title: '详情介绍',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/book',
  name: 'cityinfoBook',
  component: cityBook,
  meta: {
    title: '同城电话本',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/book/:id',
  name: 'cityinfoBookList',
  component: cityBookList,
  meta: {
    title: '同城电话本列表',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/book/:id/:showId',
  name: 'cityinfoBookListShow',
  component: cityBookListShow,
  meta: {
    title: '同城电话本详情',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/register',
  name: 'cityRegister',
  component: cityRegister,
  meta: {
    title: '我要登记',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo',
  name: 'cityinfoindex',
  component: cityinfoindex,
  meta: {
    title: '同城',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/infolist/:id/:childrenId',
  name: 'cityinfoinfolist',
  component: cityinfoinfolist,
  meta: {
    title: '信息列表 - 同城',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/searchinfolist',
  name: 'cityinfosearchinfolist',
  component: cityinfosearchinfolist,
  meta: {
    title: '信息列表 - 同城',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/cityinfo/me',
  name: 'cityinfome',
  component: cityinfome,
  meta: {
    title: '我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/infopromanage',
  name: 'cityinfoinfopromanage',
  component: cityinfoinfopromanage,
  meta: {
    title: '信息管理 - 我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/selclass',
  name: 'cityinfoselclass',
  component: cityinfoselclass,
  meta: {
    title: '选择分类 - 我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/release',
  name: 'cityinforelease',
  component: cityinforelease,
  meta: {
    title: '我要发布 - 我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/order',
  name: 'cityinfoorder',
  component: cityinfoorder,
  meta: {
    title: '我的订单 - 我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/footprint',
  name: 'cityinfofootprint',
  component: cityinfofootprint,
  meta: {
    title: '浏览记录 - 我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/cityinfo/promote',
  name: 'cityinfopromote',
  component: cityinfopromote,
  meta: {
    title: '我要推广 - 我的 - 同城',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},

{
  path: '/fast/joblist',
  name: 'fastjoblist',
  component: fastjoblist,
  meta: {
    title: '快速招聘',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/job/:id',
  name: 'fastjob',
  component: fastjobdetail,
  meta: {
    title: '职位详情 - 快速招聘',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/jobadd',
  name: 'fastjobadd',
  component: fastjobedit,
  meta: {
    title: '发布招聘信息 - 快速招聘',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/jobedit',
  name: 'fastjobedit',
  component: fastjobedit,
  meta: {
    title: '修改招聘信息 - 快速招聘',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/resumelist',
  name: 'fastresumelist',
  component: fastresumelist,
  meta: {
    title: '快速求职',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/resume/:id',
  name: 'fastresume',
  component: fastresumedetail,
  meta: {
    title: '简历详情 - 快速求职',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/resumeadd',
  name: 'fastresumeadd',
  component: fastresumeedit,
  meta: {
    title: '发布求职信息 - 快速求职',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/fast/resumeedit',
  name: 'fastresumeedit',
  component: fastresumeedit,
  meta: {
    title: '修改求职信息 - 快速求职',
    keepAlive: false,
    loginCheck: false,
    utype: 0
  }
},
{
  path: '/member/regquick',
  name: 'RegQuick',
  component: RegQuick,
  meta: {
    title: '快速注册',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/shortvideo/companylist',
  name: 'videocompanylist',
  component: videocompanylist,
  meta: {
    title: '视频招聘',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/shortvideo/personalList',
  name: 'videopersonallist',
  component: videopersonallist,
  meta: {
    title: '视频求职',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/shortvideo/videoManage',
  name: 'videoManage',
  component: videoManage,
  meta: {
    title: '视频管理',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/shortvideo/release',
  name: 'videoRelease',
  component: videoRelease,
  meta: {
    title: '视频发布',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/shortvideo/videoplay',
  name: 'videoplay',
  component: videoplay,
  meta: {
    title: '视频播放',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/subsitelist',
  name: 'subsiteList',
  component: subsiteList,
  meta: {
    title: '分站列表',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/dailyList',
  name: 'dailyList',
  component: dailyList,
  meta: {
    title: '岗位推荐',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/dailyDetail',
  name: 'dailyDetail',
  component: dailyDetail,
  meta: {
    title: '岗位详情',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/jobRegister',
  name: 'jobRegister',
  component: jobRegister,
  meta: {
    title: '求职登记',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/live',
  name: 'live',
  component: live,
  meta: {
    title: '直播招聘',
    keepAlive: false,
    loginCheck: false
  }
},
{
  path: '/member/order/addpay',
  name: 'OrderAddPay',
  component: OrderAddPay,
  meta: {
    title: '支付',
    keepAlive: false,
    loginCheck: true,
    utype: 0
  }
},
{
  path: '/ipdeny',
  component: () =>
            import ('@/views/ipdeny'),
  meta: { title: '禁止访问' }
},
{
  path: '/error',
  component: () =>
            import ('@/views/error'),
  meta: { title: '系统提示' }
},
{
  path: '*',
  component: () =>
            import ('@/views/404'),
  meta: { title: '404 Not Found' }
}
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
